#include <iostream>
#include "Item.h"
#include "Book.h"
#include "Reader.h"

using namespace std;

int main(int argc, const char* argv[]){	
	/*Item it;
	cout << it.getId() << endl;
	*/
	Book a("A", "A");
	Book b("B", "B");
	Book c("C", "C");

	Reader r("Tiancai");
	r.borrow(a);
	r.borrow(a);
	r.borrow(b);

	r.info();

	r.revert(c);
	r.revert(a);

	r.info();
	Reader rr = r;
	return 0;
}